class CreateStudents < ActiveRecord::Migration
  def change
    create_table :students do |t|
      t.primary_key :id
      t.string :login
      t.string :email
      t.string :hashed_password
      t.string :salt
      t.string :reset_password
      t.timestamp :registeredat
      t.timestamp :lastlogin
      t.timestamp :lastfaillogin
      t.integer :loginfailcount
      t.timestamp :lastupdated
    end
  end
end
